package com.wholesmart.service.impl;

import java.util.Map;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;
import com.wholesmart.common.bean.Page;
import com.wholesmart.mapper.MemberMapper;
import com.wholesmart.mapper.entity.Member;
import com.wholesmart.mapper.entity.MemberExtrainformation;
import com.wholesmart.service.MemberService;

/**
 * 成员管理服务接口实现
 * 
 * @author dyw
 * @data 2020年1月12日
 */
@Service
public class MemberServiceImpl implements MemberService {
	@Autowired
	private MemberMapper memberMapper;

	@Override
	public MemberExtrainformation getMemberExtrainfoById(Long id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Member getById(Long id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Page<Member> getPage(Map<String, Object> params) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String save(Member entity) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void deleteById(Long id) {
		memberMapper.deleteById(id);
	}

	@Override
	public void setStatusById(Long id) {
		memberMapper.updataStatusById(id);
	}

	@Override
	public Integer importMembers(MultipartFile file, HttpServletResponse response) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer exportMembers(Map<String, Object> params, HttpServletResponse response) {
		// TODO Auto-generated method stub
		return null;
	}
}
